














<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="renderer" content="webkit" />
    <title>高企认定申报--人力资源情况表</title>
    <link rel="stylesheet" type="text/css" href="/xonlinereport/css/css/public.css"/>
    <link rel="stylesheet" type="text/css" href="/xonlinereport/plugins/Font-Awesome/css/font-awesome.css"/>
    <link rel="stylesheet" type="text/css" href="/xonlinereport/plugins/valid/src/scss/default.css"/>
    <style>
	    .uploadAttachment a.deleteBtn{
	    	float: left;
		    margin-left: 10px;
		    border: 1px solid #ddd;
		    width: 50px;
		    text-align: center;
		    display: inline-block;
		    color: #000;
	    }
    </style>
</head>
<body>
     	<input type="hidden" value="9">
        <div class="content" id="personzy">
            <div class="contentIn">

            <form id="dataEnmanresForm" name="dataEnmanresForm" action="/xonlinereport/inforeport/DataInnocom/initDataInnocom.do" method="post" enctype="multipart/form-data">
<table class="wwFormTable">
        	<input type="hidden" name="struts.token.name" value="token" />
<input type="hidden" name="token" value="MZNEJIKNUSDA5JBWQJTP2C1Z4XQGK8PG" />
        	<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEntHumanres.id" value="30a9c4b1c28711eba90a00163e827061" id="dataEntHumanres.id"/>  </td>
</tr>

        	<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEntHumanres.dataId" value="4da10a8fc1fb11eba90a00163e827061" id="dataEntHumanres.dataId"/>  </td>
</tr>

        	<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEntHumanres.entId" value="2020050916115411340" id="dataEntHumanres.entId"/>  </td>
</tr>

        	<tr style="display:none;">
  <td colspan="2">
<input type="hidden" name="dataEntHumanres.createDate" value="21-6-1" id="dataEnmanresForm_dataEntHumanres_createDate"/>  </td>
</tr>

                <!--box-content start-->
                <div class="box-content">
                	<div class="tipInfo" id="tipInfo">
		           		<div class="tipContent">
		           			<p>1.人力资源情况：</p>
		           			<p>（1）企业科技人员占比</p>
		           			<p>企业科技人员占比是企业科技人员数与职工总数的比值。</p>
	            			<p>（2）科技人员</p>
	            			<p>企业科技人员是指直接从事研发和相关技术创新活动，以及专门从事上述活动的管理和提供直接技术服务的，累计实际工作时间在183天以上的人员，包括在职、兼职和临时聘用人员。</p>
	            			<p>（3）职工总数</p>
	            			<p>企业职工总数包括企业在职、兼职和临时聘用人员。在职人员可以通过企业是否签订了劳动合同或缴纳社会保险费来鉴别；兼职、临时聘用人员全年须在企业累计工作183天以上。</p>
		           			<p>（4）统计方法</p>
	            			<p> 企业当年职工总数、科技人员数均按照全年月平均数计算。</p>
	            			<p>月平均数＝（月初数＋月末数）÷2；全年月平均数＝全年各月平均数之和÷12</p>
	            			<p>年度中间开业或者终止经营活动的，以其实际经营期作为一个纳税年度确定上述相关指标。</p>
		           		</div>
		           		<div class="toggleBtn">
	                        <span class="checked">
	                            <input type="checkbox" />
	                        </span>  是否默认隐藏提示
	            		</div>
		           	</div>
                    <div class="box-header " >
                        <h2 class="text-center">（一）总体情况</h2>
                    </div>
                    <div class="box-body border-bottom-1">
                        <div class="input-group">
                            <label>情况明细</label>
                            <div class="input-box2 ">
                                <div class="row">
                                    <label class="margin-top-35">总数（人）</label>
                                    <div class="form-group input-w280">
                                        <label >企业职工</label>
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrTotal" name="dataEntHumanres.entHrTotal" value="147" />
                                        <span id="entHrTotalTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <label >科技人员</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="satHrTotal" name="dataEntHumanres.satHrTotal" value="15" />
                                        <span id="satHrTotalTip"></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <label>其中：在职人员（人）</label>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrOnJob" name="dataEntHumanres.entHrOnjob" value="147"/>
                                        <span id="entHrOnJobTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="satHrOnJob" name="dataEntHumanres.satHrOnjob" value="15" />
                                        <span id="satHrOnJobTip"></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <label>兼职人员（人）</label>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrPart" name="dataEntHumanres.entHrPart"  value="0"/>
                                        <span id="entHrPartTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="satHrPart" name="dataEntHumanres.satHrPart" value="0"/>
                                        <span id="satHrPartTip"></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <label>临时聘用人员（人）</label>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrExt" name="dataEntHumanres.entHrExt"  value="0" />
                                        <span id="entHrExtTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="satHrExt" name="dataEntHumanres.satHrExt" value="0"/>
                                        <span id="satHrExtTip"></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <label>外籍人员（人）</label>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrForg" name="dataEntHumanres.entHrForg" value="0"/>
                                        <span id="entHrForgTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="satHrForg" name="dataEntHumanres.satHrForg" value="0"/>
                                        <span id="satHrForgTip"></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <label>留学归国人员（人）</label>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrAbroed" name="dataEntHumanres.entHrAbroed" value="0"/>
                                        <span id="entHrAbroedTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="satHrAbroed" name="dataEntHumanres.satHrAbroed" value="0"/>
                                        <span id="satHrAbroedTip"></span>
                                    </div>
                                </div>
                                <div class="row">
                                    <label>干人计划人员（人）</label>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrTsdplan" name="dataEntHumanres.entHrTsdplan" value="0"/>
                                        <span id="entHrTsdplanTip"></span>
                                    </div>
                                    <div class="form-group input-w280">
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="satHrTsdplan" name="dataEntHumanres.satHrTsdplan" value="0"/>
                                        <span id="satHrTsdplanTip"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="box-header " >
                        <h2 class="text-center">（二）全体人员结构</h2>
                    </div>
                    <div class="box-body">
                        <div class="input-group">
                            <label>学历人数</label>
                            <div class="input-box padding-top-20 width-176">
                                <div class="row">
                                    <div class="form-group width-176">
                                        <label >博士</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrDoctor" name="dataEntHumanres.entHrDoctor" value="0"/>
                                        <span id="entHrDoctorTip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >硕士</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrMaster" name="dataEntHumanres.entHrMaster" value="2"/>
                                        <span id="entHrMasterTip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >本科</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrBachelor" name="dataEntHumanres.entHrBachelor" value="29"/>
                                        <span id="entHrBachelorTip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >大专及以下</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrJunior" name="dataEntHumanres.entHrJunior"  value="116"/>
                                        <span id="entHrJuniorTip"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="input-group">
                            <label>职称人数</label>
                            <div class="input-box padding-top-20 width-176">
                                <div class="row">
                                    <div class="form-group width-176">
                                        <label >高级职称</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrSenior" name="dataEntHumanres.entHrSenior" value="2"/>
                                        <span id="entHrSeniorTip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >中级职称</label>
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrMiddle" name="dataEntHumanres.entHrMiddle" value="8"/>
                                        <span id="entHrMiddleTip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >初级职称</label>
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrPrimary" name="dataEntHumanres.entHrPrimary" value="0"/>
                                        <span id="entHrPrimaryTip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >高级技工</label>
                                        <input type="text" placeholder="请输入"  onchange="compareHr()" id="entHrMechanic" name="dataEntHumanres.entHrMechanic"  value="1"/>
                                        <span id="entHrMechanicTip"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="input-group">
                            <label>年龄人数</label>
                            <div class="input-box padding-top-20 width-176">
                                <div class="row">
                                    <div class="form-group width-176">
                                        <label >30及以下</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrAge1" name="dataEntHumanres.entHrAge1"   value="27"/>
                                        <span id="entHrAge1Tip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >31-40</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrAge2" name="dataEntHumanres.entHrAge2"   value="69"/>
                                        <span id="entHrAge2Tip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >41-50</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrAge3" name="dataEntHumanres.entHrAge3"  value="42"/>
                                        <span id="entHrAge3Tip"></span>
                                    </div>
                                    <div class="form-group width-176">
                                        <label >51及以上</label>
                                        <input type="text" placeholder="请输入" onchange="compareHr()" id="entHrAge4" name="dataEntHumanres.entHrAge4"    value="9"/>
                                        <span id="entHrAge4Tip"></span>
                                    </div>
                                </div>
                            </div>
                        </div>


                        <div class="input-group">
			                <div class="uploadAttachment">
			                	<h3>附件</h3>


			                    	<div style="overflow: hidden;">
			                    		<input type="hidden" id="yyzzFile" value="30a9c4b1c28711eba90a00163e827061" />
				                    	<a href="/xonlinereport/inforeport/File/downLoad.do?id=30a9c4b1c28711eba90a00163e827061" class="progress-button uploadBtn" style="float: left;">点击下载</a>
										<a href="/xonlinereport/inforeport/DataInnocom/deleteAttachment.do?id=30a9c4b1c28711eba90a00163e827061&type=9" class="deleteBtn"
											onclick="return confirm('你确定要删除此附件吗？')">删除</a>
			                    	</div>

			                    <div class="uploadTip">
			                    	<!-- <p class="fontWeight">附件内容说明：</p> -->
			                    	<p>请上传企业职工和科技人员情况说明材料，包括在职、兼职和临时聘用人员人数、人员学历结构、科技人员名单及其工作岗位等。</p>

			                    	<p>江苏省认定机构具体要求如下：</p>

			            				企业职工和科技人员情况说明材料，包括在职、兼职和临时聘用人员人数、人员学历结构、科技人员名单及其工作岗位明细、企业职工人数情况表和上年度年末社保缴纳人数证明材料（只需汇总数）。


			                    	<p class="fontWeight">附件格式要求：</p>
			                    	<p>1、证明材料扫描上传。</p>
			                    	<p>2、只支持非加密PDF格式的文件上传。</p>
			                    	<p>3、单个文件大小不要超过8M。</p>
			                    </div>
			                </div>
                    	</div>
                    </div>
                    <div class="box-footer text-right">
                        <button class="green" type="submit" id="dataEnmanressave">保存</button>
                    </div>
                </div>
                <!--box-content end-->
            </table></form>



            </div>
        </div>














<!DOCTYPE HTML>
<html>
<head>
     <base href="https://slb.chinatorch.org.cn:443/xonlinereport/" />

	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<meta name="renderer" content="webkit" />
	<link rel="icon" href="images/icons/favicon.ico" type="image/x-icon" />
    <meta http-equiv="Cache-Control" content="no-store" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- optional javascript: effects.js,jquery.js -->
    <!-- <link type="text/css" href="styles/global_3w.css" rel="stylesheet" /> --><!--æ°å¢-->
    <!-- <link type="text/css" href="styles/global.css" rel="stylesheet" />
    <link href="scripts/liger/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" /> -->
<!-- rapid-validation BEGIN -->
    <link type="text/css" href="scripts/rapid-validation/validation.css" rel="stylesheet" />
<!-- rapid-validation END-->

<!-- jQuery library begin -->
   <!--  <link rel="stylesheet" type="text/css" href="scripts/jquery/base/jquery.ui.all.css" /> -->
    <link type="text/css" rel="stylesheet" href="scripts/jquery/base/jquery.ui.all.css" />
<!-- jQuery library end -->
<!--DataTables begin-->
    <link href="widgets/extremecomponents/extremecomponents_3w.css"   type="text/css" rel="stylesheet" /><!--æ°å¢-->
    <link rel="stylesheet" type="text/css" href="scripts/DataTables-1.9.3/treeTable/jquery.treeTable.css"/>
    <link rel="stylesheet" type="text/css" href="scripts/DataTables-1.9.3/css/jquery.dataTables.css"/>
<!--DataTables end -->

<!-- dhtmlxCalendar library begin -->
    <link rel="stylesheet" type="text/css" href="scripts/dhtmlxCalendar/dhtmlxcalendar.css" />
    <link rel="stylesheet" type="text/css" href="scripts/dhtmlxCalendar/skins/dhtmlxcalendar_dhx_skyblue.css" />
<!-- dhtmlxCalendar library end -->

<!-- bootstrap V4
    <link href='styles/bootstrap.min.css' rel='stylesheet'>
 -->
 	<link rel="stylesheet" type="text/css" href="css/css/public.css"/>
    <link rel="stylesheet" href="plugins/valid/src/scss/default.css">
    <link rel="stylesheet" type="text/css" href="plugins/Font-Awesome/css/font-awesome.css"/>
    <link href="widgets/extremecomponents/extremecomponents_3w.css" type="text/css" rel="stylesheet" />

	 <link href="/xonlinereport/scripts/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css" rel="stylesheet" />
</head>
<body>






















<ul class="breadcrumb">

</ul>
<div class="container">

</div>

<script type="text/javascript">
	var jsContextPath = '/xonlinereport';
</script>
<!-- rapid-validation BEGIN -->
    <!--<script type="text/javascript" src="/xonlinereport/scripts/rapid-validation/prototype_for_validation.js"></script>-->
      <!--<script type="text/javascript" src="/xonlinereport/scripts/rapid-validation/validation_cn.js"></script>-->
<!-- rapid-validation END-->

<!-- jQuery library begin -->

   <!--  <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery-1.4.2.js"></script>Ã¦ÂÂ°Ã¥Â¢Â -->
     <!-- <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery-1.8.2.js"></script>-->
     <script type="text/javascript" src="/xonlinereport/js/js/jquery-2.1.4.min.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery.form.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery.bgiframe.js"></script>

   <!-- <script type="text/javascript" src="/xonlinereport/scripts/jquery/jquery-1.3.2.min.js"></script>  -->

   <!-- dhtmlxCalendar library begin -->

	<!-- dhtmlxCalendar library end -->
	<!-- jQuery library end -->
<!--æ¥ææä»¶-->
<script src="/xonlinereport/plugins/datepicker/WdatePicker.js"></script>

    <script type="text/javascript" src="/xonlinereport/scripts/application.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/common.js"></script>
    <script type="text/javascript" src="/xonlinereport/scripts/util.js"> </script>
    <!--éç¨js-->
	<script src="/xonlinereport/js/js/jquery-2.1.4.min.js"></script>
	<script src="/xonlinereport/js/js/base.js"></script>
	<!--è¡¨åéªè¯js-->
	 <script src="/xonlinereport/plugins/valid/formValidator-4.1.3.js"></script>
	<script src="/xonlinereport/plugins/valid/formValidatorRegex.js"></script>
	<!-- <script src="/xonlinereport/plugins/valid/DateTimeMask.js"></script> -->
	<script src="/xonlinereport/js/js/myValidator.js"></script>
	<!--è¡¨åç¾åjs-->
	<script src="/xonlinereport/js/js/uniform-common.js"></script>
	<script src="/xonlinereport/plugins/valid/src/js/jquery.uniform.js"></script>
	<!--éç¨jsï¼ie8å¼å®¹æ§å¤çé®é¢-->
	<!--[if lt IE 9]>
	<script src="/xonlinereport/js/js/html5shiv.min.js"></script>
	<script src="/xonlinereport/js/js/placeholder.js"></script>
	<![endif]-->

	<script src="/xonlinereport/js/js/jquery.mousewheel.js"></script>
	<script>
		$(document).ready(function() {
		var ua = window.navigator.userAgent;
		var old_ie = ua.indexOf('MSIE ');
		var new_ie = ua.indexOf('Trident/');

		if ((old_ie > -1) || (new_ie > -1)) {
		    var $doc = $(top.document);// é¡¶å±é¡µé¢ä¸å®è¦å¨è¿éè·åï¼ mousewheeläºä»¶ä¸­è·åä¸å°ï¼ åå ä¸æ
		    $("body").on('mousewheel', function(event, delta) {
			        if (delta < 0) $doc.scrollTop($doc.scrollTop() + 25);
			        else if (delta > 0) $doc.scrollTop($doc.scrollTop() - 25);
			        return false;
		    	});
			}
		});
	</script>
	<script src="/xonlinereport/scripts/jquery-jbox/2.3/jquery.jBox-2.3.min.js" type="text/javascript"></script>
	<script src="/xonlinereport/js/common.js" type="text/javascript"></script>
	<script charset="UTF-8" language="javascript" type="text/javascript" >
		$(function(){
			var alertMessage = "";
			if(alertMessage!=null && alertMessage!=""){
				if(alertMessage=='保存成功!'||alertMessage=='保存成功！'||alertMessage=='保存成功'||alertMessage=='操作成功'){
					showTip(alertMessage,'success',3000);
				}else if(alertMessage == '请完善企业的技术领域'){
					alert(alertMessage);
					location.href = '/xonlinereport/inforeport/EntInfoChange/initRegDataForUpdate.do';
				}else{
					closeTip();
					alert(alertMessage);
				}
			}else{
				closeTip();
			}
		});

	</script>
</body>
</html>
<script type="text/javascript">
	$(document).ready(function() {
		parent.document.getElementById("innocomFrame").height = $(document.body).height() + 30 + "px";
		var ua = window.navigator.userAgent;
		var old_ie = ua.indexOf('MSIE ');
		var new_ie = ua.indexOf('Trident/');

		if ((old_ie > -1) || (new_ie > -1)) {
		    var $doc = $(top.document);// 顶层页面一定要在这里获取， mousewheel事件中获取不到， 原因不明
		    $("body").on('mousewheel', function(event, delta) {
			        if (delta < 0) $doc.scrollTop($doc.scrollTop() + 25);
			        else if (delta > 0) $doc.scrollTop($doc.scrollTop() - 25);
			        return false;
		    	});
		}
	});
	function compareHr(){
		var entHrTotal=parseInt(document.getElementById("entHrTotal").value);
		var satHrTotal=parseInt(document.getElementById("satHrTotal").value);
		var entHrOnJob=parseInt(document.getElementById("entHrOnJob").value);
		var satHrOnJob=parseInt(document.getElementById("satHrOnJob").value);
		var entHrPart=parseInt(document.getElementById("entHrPart").value);
		var satHrPart=parseInt(document.getElementById("satHrPart").value);
		var entHrExt=parseInt(document.getElementById("entHrExt").value);
		var satHrExt=parseInt(document.getElementById("satHrExt").value);
		var entHrForg=parseInt(document.getElementById("entHrForg").value);
		var satHrForg=parseInt(document.getElementById("satHrForg").value);
		var entHrAbroed=parseInt(document.getElementById("entHrAbroed").value);
		var satHrAbroed=parseInt(document.getElementById("satHrAbroed").value);
		var entHrTsdplan=parseInt(document.getElementById("entHrTsdplan").value);
		var satHrTsdplan=parseInt(document.getElementById("satHrTsdplan").value);

		var entHrDoctor=parseInt(document.getElementById("entHrDoctor").value);
		var entHrMaster=parseInt(document.getElementById("entHrMaster").value);
		var entHrBachelor=parseInt(document.getElementById("entHrBachelor").value);
		var entHrJunior=parseInt(document.getElementById("entHrJunior").value);
		var entHrSenior=parseInt(document.getElementById("entHrSenior").value);
		var entHrMiddle=parseInt(document.getElementById("entHrMiddle").value);
		var entHrPrimary=parseInt(document.getElementById("entHrPrimary").value);
		var entHrMechanic=parseInt(document.getElementById("entHrMechanic").value);
		var entHrAge1=parseInt(document.getElementById("entHrAge1").value);
		var entHrAge2=parseInt(document.getElementById("entHrAge2").value);
		var entHrAge3=parseInt(document.getElementById("entHrAge3").value);
		var entHrAge4=parseInt(document.getElementById("entHrAge4").value);

		//企业职工应大于科技人员
		if(satHrTotal>entHrTotal){
			document.getElementById("satHrTotal").value=null;
		}
		//企业职工应大于在职人员
		if(entHrOnJob>entHrTotal){
			document.getElementById("entHrOnJob").value=null;

		}
		//在职科技人员应小于等于科技人员总数，小于等于在职人员
		if(satHrOnJob>satHrTotal||satHrOnJob>entHrOnJob){
			document.getElementById("satHrOnJob").value=null;
		}
		//兼职人员应小于等于企业职员总数
		if(entHrPart>entHrTotal||(entHrOnJob+entHrPart)>entHrTotal){
			document.getElementById("entHrPart").value=null;
		}
		//兼职人员科技数应小于等于科技人员总数，小于等于科技兼职人员
		if(satHrPart>entHrPart||satHrPart>satHrTotal||(satHrOnJob+satHrPart)>satHrTotal){
			document.getElementById("satHrPart").value=null;
		}
		//临时聘用人员应小于在职人员
		if(entHrExt>entHrTotal){
			document.getElementById("entHrExt").value=null;
		}
		//临时聘用科技人员应小于临时聘用人员且小于科技人员总数
		if(satHrExt>entHrExt||satHrExt>satHrTotal){

			document.getElementById("satHrExt").value=null;
		}
		//在职人员、兼职人员、临时聘用人员等于在职人员总数
		if((entHrOnJob+entHrPart+entHrExt)>entHrTotal){
			document.getElementById("entHrExt").value=null;
		}
		//科技人员在职人员、兼职人员、临时聘用人员等于科s技在职人员总数
		if((satHrOnJob+satHrPart+satHrExt)>satHrTotal){

			document.getElementById("satHrExt").value=null;
		}
		//临时聘用科技人员应小于临时聘用人员
		if(satHrExt>entHrExt){

			document.getElementById("satHrExt").value=null;
		}
		//外籍人员总数应小于在职人员总数
		if(entHrForg>entHrTotal){
			document.getElementById("entHrForg").value=null;
		}
		//外籍科技人员应小于外籍人员总数且小于科技人员总数
		if(satHrForg>entHrForg||satHrForg>satHrTotal){
			document.getElementById("satHrForg").value=null;
		}
		//留学归国人员应小于职人员总数
		if(entHrAbroed>entHrTotal){
			document.getElementById("entHrAbroed").value=null;
		}
		//留学归国科技人员应小于留学归国人员总数且小于科技人员总数
		if(satHrAbroed>entHrAbroed||satHrAbroed>satHrTotal){
			document.getElementById("satHrAbroed").value=null;
		}
		//千人计划人员应小于职人员总数
		if(entHrTsdplan>entHrTotal){
			document.getElementById("entHrTsdplan").value=null;
		}
		//千人计划科技人员应小于千人计划人员总数且小于科技人员总数
		if(satHrTsdplan>entHrTsdplan||satHrTsdplan>satHrTotal){
			document.getElementById("satHrTsdplan").value=null;
		}

		//学历人数每项应小于等于总人数，且人数等于总人数
		if(entHrDoctor>entHrTotal){
			document.getElementById("entHrDoctor").value=null;
		}
		if((entHrMaster+entHrDoctor)>entHrTotal){
			document.getElementById("entHrMaster").value=null;
		}
		if((entHrBachelor+entHrMaster+entHrDoctor)>entHrTotal){
			document.getElementById("entHrBachelor").value=null;
		}
		if((entHrJunior+entHrBachelor+entHrMaster+entHrDoctor)>entHrTotal){
			document.getElementById("entHrJunior").value=null;
		}

		//职称人数每项应小于等于总人数，且人数等于总人数
		if(entHrSenior>entHrTotal){
			document.getElementById("entHrSenior").value=null;
		}
		if((entHrSenior+entHrMiddle)>entHrTotal){
			document.getElementById("entHrMiddle").value=null;
		}
		if((entHrSenior+entHrMiddle+entHrPrimary)>entHrTotal){
			document.getElementById("entHrPrimary").value=null;
		}
		if((entHrSenior+entHrMiddle+entHrPrimary+entHrMechanic)>entHrTotal){
			document.getElementById("entHrMechanic").value=null;
		}

		//年龄人数每项应小于等于总人数，且人数等于总人数
		if(entHrAge1>entHrTotal){
			document.getElementById("entHrAge1").value=null;
		}
		if(entHrAge1+entHrAge2>entHrTotal){
			document.getElementById("entHrAge2").value=null;
		}
		if(entHrAge1+entHrAge2+entHrAge3>entHrTotal){
			document.getElementById("entHrAge3").value=null;
		}
		if((entHrAge1+entHrAge2+entHrAge3+entHrAge4)>entHrTotal){
			document.getElementById("entHrAge4").value=null;
		}
	}
	$(document).ready(function() {
		if($(".toggleBtn input[type='checkbox']").is(':checked')){
			$('.tipInfo .toggleBtn').css("border-top","1px solid #fff")
		}else{
			$('.tipInfo .toggleBtn').css("border-top","1px solid #e6eaee")
		}

	})
</script>
<script>
/* 上传图片 */
function fileClick(ele) {
	$("#"+ele).click();
}
function handleFile(file, type ,fileId) {
	var size = (file.size / 1024 / 1024).toFixed(2);
	if (size > 8) {
		alert("上传文件不能超过8M，请重新上传!");
		return false;
	};
	var fobj = $("#" + fileId).val();
	var fileType = getFileName(fobj).substring(getFileName(fobj).lastIndexOf("."), getFileName(fobj).length);
	if(!/\.(pdf|PDF)$/.test(fileType)) {
		$("#" + fileId).val("");
		alert("请上传pdf文件！")
       	return false;
    }
	 $("#" + fileId + "Name").attr("value", getFileName(fobj)).attr("title",
			getFileName(fobj));
	 $("#yyzzFileTip").text(getFileName(fobj));
};

function getFileName(o) {
	if (o) {
		var pos = o.lastIndexOf("\\");
			return o.substring(pos + 1);
		} else {
		return null;
	}
};
/* $("#dataEnmanressave").click(function(){
	var attach = $("#yyzzFile").val();
	if(!attach){
		alert("请上传附件");
		return false;
	}
}); */
$(".toggleBtn input[type='checkbox']").click(function(){
	if($(".toggleBtn input[type='checkbox']").is(':checked')){
		$(this).parent().addClass("checked")
		$('.tipContent').slideDown();
		$('.tipInfo .toggleBtn').css("border-top","1px solid #fff");
		setTimeout(function(){
			iframeHeight1();
		},500)
	}else{
		$('.tipContent').slideUp();
		$(this).parent().removeClass("checked")
		$('.tipInfo .toggleBtn').css("border-top","1px solid #e6eaee");
		setTimeout(function(){
			iframeHeight1();
		},500)
	}
})
</script>
</body>
</html>
